<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Calico: AprilTags::FloatImage Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Calico
   </div>
   <div id="projectbrief">A visual-inertial calibration library designed for rapid problem construction and debugging.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceAprilTags.html">AprilTags</a></li><li class="navelem"><a class="el" href="classAprilTags_1_1FloatImage.html">FloatImage</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classAprilTags_1_1FloatImage-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">AprilTags::FloatImage Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represent an image as a vector of floats in [0,1].  
 <a href="classAprilTags_1_1FloatImage.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="FloatImage_8h_source.html">FloatImage.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afcc87588cf9dd85df3dc462c5b96520b"><td class="memItemLeft" align="right" valign="top"><a id="afcc87588cf9dd85df3dc462c5b96520b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1FloatImage.html#afcc87588cf9dd85df3dc462c5b96520b">FloatImage</a> ()</td></tr>
<tr class="memdesc:afcc87588cf9dd85df3dc462c5b96520b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:afcc87588cf9dd85df3dc462c5b96520b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3416d8563e336b546ee9d321ff52cb3c"><td class="memItemLeft" align="right" valign="top"><a id="a3416d8563e336b546ee9d321ff52cb3c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1FloatImage.html#a3416d8563e336b546ee9d321ff52cb3c">FloatImage</a> (int widthArg, int heightArg)</td></tr>
<tr class="memdesc:a3416d8563e336b546ee9d321ff52cb3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct an empty image. <br /></td></tr>
<tr class="separator:a3416d8563e336b546ee9d321ff52cb3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aece2b3666542057bced37fabe6b9e4a7"><td class="memItemLeft" align="right" valign="top"><a id="aece2b3666542057bced37fabe6b9e4a7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1FloatImage.html#aece2b3666542057bced37fabe6b9e4a7">FloatImage</a> (int widthArg, int heightArg, const std::vector&lt; float &gt; &amp;pArg)</td></tr>
<tr class="memdesc:aece2b3666542057bced37fabe6b9e4a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor that copies pixels from an array. <br /></td></tr>
<tr class="separator:aece2b3666542057bced37fabe6b9e4a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08d4cd17679e23808fe8210e100f10fe"><td class="memItemLeft" align="right" valign="top"><a id="a08d4cd17679e23808fe8210e100f10fe"></a>
<a class="el" href="classAprilTags_1_1FloatImage.html">FloatImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classAprilTags_1_1FloatImage.html">FloatImage</a> &amp;other)</td></tr>
<tr class="separator:a08d4cd17679e23808fe8210e100f10fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7a0fce2cee1c67529218f2dc81362d2"><td class="memItemLeft" align="right" valign="top"><a id="ac7a0fce2cee1c67529218f2dc81362d2"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>get</b> (int x, int y) const</td></tr>
<tr class="separator:ac7a0fce2cee1c67529218f2dc81362d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafad542ce75f7ff5f16a2173c399f06b"><td class="memItemLeft" align="right" valign="top"><a id="aafad542ce75f7ff5f16a2173c399f06b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set</b> (int x, int y, float v)</td></tr>
<tr class="separator:aafad542ce75f7ff5f16a2173c399f06b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b856d667c4cbe4236c3f7c2624b1ed"><td class="memItemLeft" align="right" valign="top"><a id="a78b856d667c4cbe4236c3f7c2624b1ed"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>getWidth</b> () const</td></tr>
<tr class="separator:a78b856d667c4cbe4236c3f7c2624b1ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5b2d714b232698cc40cb0dc6f5d74c1"><td class="memItemLeft" align="right" valign="top"><a id="af5b2d714b232698cc40cb0dc6f5d74c1"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>getHeight</b> () const</td></tr>
<tr class="separator:af5b2d714b232698cc40cb0dc6f5d74c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad39efb85e79a4f9ccdc4c5a06e57b9f5"><td class="memItemLeft" align="right" valign="top"><a id="ad39efb85e79a4f9ccdc4c5a06e57b9f5"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>getNumFloatImagePixels</b> () const</td></tr>
<tr class="separator:ad39efb85e79a4f9ccdc4c5a06e57b9f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49c3ec1fec30323c7db78b8f0521b29f"><td class="memItemLeft" align="right" valign="top"><a id="a49c3ec1fec30323c7db78b8f0521b29f"></a>
const std::vector&lt; float &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getFloatImagePixels</b> () const</td></tr>
<tr class="separator:a49c3ec1fec30323c7db78b8f0521b29f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16ed23a8c968a37a924e9d8b1a0a7024"><td class="memItemLeft" align="right" valign="top"><a id="a16ed23a8c968a37a924e9d8b1a0a7024"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1FloatImage.html#a16ed23a8c968a37a924e9d8b1a0a7024">decimateAvg</a> ()</td></tr>
<tr class="memdesc:a16ed23a8c968a37a924e9d8b1a0a7024"><td class="mdescLeft">&#160;</td><td class="mdescRight">TODO: Fix decimateAvg function. DO NOT USE! <br /></td></tr>
<tr class="separator:a16ed23a8c968a37a924e9d8b1a0a7024"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11b35a556a0a124d577c2337310113fb"><td class="memItemLeft" align="right" valign="top"><a id="a11b35a556a0a124d577c2337310113fb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAprilTags_1_1FloatImage.html#a11b35a556a0a124d577c2337310113fb">normalize</a> ()</td></tr>
<tr class="memdesc:a11b35a556a0a124d577c2337310113fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rescale all values so that they are between [0,1]. <br /></td></tr>
<tr class="separator:a11b35a556a0a124d577c2337310113fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb934a46faa519a9a25b6c7b4661e1cd"><td class="memItemLeft" align="right" valign="top"><a id="aeb934a46faa519a9a25b6c7b4661e1cd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>filterFactoredCentered</b> (const std::vector&lt; float &gt; &amp;fhoriz, const std::vector&lt; float &gt; &amp;fvert)</td></tr>
<tr class="separator:aeb934a46faa519a9a25b6c7b4661e1cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a662defb29d51c739d8928d1446784c6d"><td class="memTemplParams" colspan="2"><a id="a662defb29d51c739d8928d1446784c6d"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a662defb29d51c739d8928d1446784c6d"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>copyToSketch</b> (<a class="el" href="classDualCoding_1_1Sketch.html">DualCoding::Sketch</a>&lt; T &gt; &amp;sketch)</td></tr>
<tr class="separator:a662defb29d51c739d8928d1446784c6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af10e34eb5869e7752b8d4f59a45347fe"><td class="memItemLeft" align="right" valign="top"><a id="af10e34eb5869e7752b8d4f59a45347fe"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>printMinMax</b> () const</td></tr>
<tr class="separator:af10e34eb5869e7752b8d4f59a45347fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represent an image as a vector of floats in [0,1]. </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>calico/third_party/apriltags/apriltags/<a class="el" href="FloatImage_8h_source.html">FloatImage.h</a></li>
<li>calico/third_party/apriltags/src/FloatImage.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
